serg@serg-VirtualBox:~/gitverse/gurren$ make build
docker-compose build --progress=plain
traefik uses an image, skipping
Building backend
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

unknown flag: --progress
See 'docker build --help'.
ERROR: Service 'backend' failed to build : Build failed
make: *** [Makefile:8: build] Ошибка 1
serg@serg-VirtualBox:~/gitverse/gurren$ docker-compose build
traefik uses an image, skipping
Building backend
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  24.58kB
Step 1/19 : FROM tiangolo/uvicorn-gunicorn:python3.11-slim as prod
python3.11-slim: Pulling from tiangolo/uvicorn-gunicorn
09f376ebb190: Pull complete 
276709cbedc1: Pull complete 
a5b1646776ed: Pull complete 
cc3e860a837e: Pull complete 
67cbcd94260c: Pull complete 
de9d4f80c4bb: Pull complete 
3597553abab6: Pull complete 
375e1ad09d87: Pull complete 
72a79de3d079: Pull complete 
caba8b3a45a1: Pull complete 
fcc9bdd02742: Pull complete 
003cd2cdb417: Pull complete 
bc6f0627cf70: Pull complete 
4f4fb700ef54: Pull complete 
Digest: sha256:0f2cba1bddc4dd9871b02a5df8cbb8683a0bd7590b28c60ad36fb95e8a922f29
Status: Downloaded newer image for tiangolo/uvicorn-gunicorn:python3.11-slim
 ---> 3dee06640ec8
Step 2/19 : ENV PORT 5000
 ---> Running in 808e391e2c86
Removing intermediate container 808e391e2c86
 ---> 7552b54f224a
Step 3/19 : ENV LOG_LEVEL debug
 ---> Running in 1b7799a244a4
Removing intermediate container 1b7799a244a4
 ---> ab8eaebb5523
Step 4/19 : COPY requirements.txt pyproject.toml main.py /app/
 ---> c90bf8a11b5f
Step 5/19 : RUN pip install --no-cache -r /app/requirements.txt
 ---> Running in 7969c527a83f
Collecting fastapi==0.109.0 (from -r /app/requirements.txt (line 1))
  Downloading fastapi-0.109.0-py3-none-any.whl.metadata (24 kB)
Requirement already satisfied: pyyaml==6.0.1 in /usr/local/lib/python3.11/site-packages (from -r /app/requirements.txt (line 3)) (6.0.1)
Collecting uvicorn==0.27.0.post1 (from uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4))
  Downloading uvicorn-0.27.0.post1-py3-none-any.whl.metadata (6.4 kB)
Collecting httpx==0.26.0 (from -r /app/requirements.txt (line 5))
  Downloading httpx-0.26.0-py3-none-any.whl.metadata (7.6 kB)
Collecting aiofiles==23.2.1 (from -r /app/requirements.txt (line 6))
  Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 (from fastapi==0.109.0->-r /app/requirements.txt (line 1))
  Downloading pydantic-2.7.3-py3-none-any.whl.metadata (108 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.0/109.0 kB 871.8 kB/s eta 0:00:00
Collecting starlette<0.36.0,>=0.35.0 (from fastapi==0.109.0->-r /app/requirements.txt (line 1))
  Downloading starlette-0.35.1-py3-none-any.whl.metadata (5.8 kB)
Collecting typing-extensions>=4.8.0 (from fastapi==0.109.0->-r /app/requirements.txt (line 1))
  Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: click>=7.0 in /usr/local/lib/python3.11/site-packages (from uvicorn==0.27.0.post1->uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (8.1.7)
Requirement already satisfied: h11>=0.8 in /usr/local/lib/python3.11/site-packages (from uvicorn==0.27.0.post1->uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (0.14.0)
Requirement already satisfied: anyio in /usr/local/lib/python3.11/site-packages (from httpx==0.26.0->-r /app/requirements.txt (line 5)) (4.4.0)
Collecting certifi (from httpx==0.26.0->-r /app/requirements.txt (line 5))
  Downloading certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx==0.26.0->-r /app/requirements.txt (line 5))
  Downloading httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: idna in /usr/local/lib/python3.11/site-packages (from httpx==0.26.0->-r /app/requirements.txt (line 5)) (3.7)
Requirement already satisfied: sniffio in /usr/local/lib/python3.11/site-packages (from httpx==0.26.0->-r /app/requirements.txt (line 5)) (1.3.1)
Requirement already satisfied: httptools>=0.5.0 in /usr/local/lib/python3.11/site-packages (from uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (0.6.1)
Requirement already satisfied: python-dotenv>=0.13 in /usr/local/lib/python3.11/site-packages (from uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (1.0.1)
Requirement already satisfied: uvloop!=0.15.0,!=0.15.1,>=0.14.0 in /usr/local/lib/python3.11/site-packages (from uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (0.19.0)
Requirement already satisfied: watchfiles>=0.13 in /usr/local/lib/python3.11/site-packages (from uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (0.22.0)
Requirement already satisfied: websockets>=10.4 in /usr/local/lib/python3.11/site-packages (from uvicorn[standard]==0.27.0.post1->-r /app/requirements.txt (line 4)) (12.0)
Collecting annotated-types>=0.4.0 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi==0.109.0->-r /app/requirements.txt (line 1))
  Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.18.4 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi==0.109.0->-r /app/requirements.txt (line 1))
  Downloading pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.5 kB)
Downloading fastapi-0.109.0-py3-none-any.whl (92 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.0/92.0 kB 3.6 MB/s eta 0:00:00
Downloading uvicorn-0.27.0.post1-py3-none-any.whl (60 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.7/60.7 kB 5.0 MB/s eta 0:00:00
Downloading httpx-0.26.0-py3-none-any.whl (75 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.9/75.9 kB 4.6 MB/s eta 0:00:00
Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 kB 5.5 MB/s eta 0:00:00
Downloading pydantic-2.7.3-py3-none-any.whl (409 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 409.6/409.6 kB 3.2 MB/s eta 0:00:00
Downloading pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 7.3 MB/s eta 0:00:00
Downloading starlette-0.35.1-py3-none-any.whl (71 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.1/71.1 kB 258.1 MB/s eta 0:00:00
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading certifi-2024.6.2-py3-none-any.whl (164 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 282.8 MB/s eta 0:00:00
Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Installing collected packages: uvicorn, typing-extensions, certifi, annotated-types, aiofiles, starlette, pydantic-core, httpcore, pydantic, httpx, fastapi
  Attempting uninstall: uvicorn
    Found existing installation: uvicorn 0.21.0
    Uninstalling uvicorn-0.21.0:
      Successfully uninstalled uvicorn-0.21.0
Successfully installed aiofiles-23.2.1 annotated-types-0.7.0 certifi-2024.6.2 fastapi-0.109.0 httpcore-1.0.5 httpx-0.26.0 pydantic-2.7.3 pydantic-core-2.18.4 starlette-0.35.1 typing-extensions-4.12.2 uvicorn-0.27.0.post1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 7969c527a83f
 ---> df4a94c751fe
Step 6/19 : COPY src /app/src/
 ---> 731f669243f9
Step 7/19 : RUN pip install -e /app
 ---> Running in 5aac21037187
Obtaining file:///app
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: gurren
  Building editable for gurren (pyproject.toml): started
  Building editable for gurren (pyproject.toml): finished with status 'done'
  Created wheel for gurren: filename=gurren-0.0.1-0.editable-py3-none-any.whl size=1139 sha256=25087bf29ceabdd652cc5ebb00ad04030c7754c2a033ed51cd5173838b7fc6eb
  Stored in directory: /tmp/pip-ephem-wheel-cache-c5nu4rjs/wheels/57/0f/98/bb57b2b57b95807699b822a35c022f139d38a02c27922f27ce
Successfully built gurren
Installing collected packages: gurren
Successfully installed gurren-0.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 5aac21037187
 ---> 801bd920ff12
Step 8/19 : FROM python:3.11-slim as py
3.11-slim: Pulling from library/python
09f376ebb190: Already exists 
276709cbedc1: Already exists 
a5b1646776ed: Already exists 
cc3e860a837e: Already exists 
67cbcd94260c: Already exists 
Digest: sha256:fc39d2e68b554c3f0a5cb8a776280c0b3d73b4c04b83dbade835e2a171ca27ef
Status: Downloaded newer image for python:3.11-slim
 ---> 26820c29e666
Step 9/19 : RUN mkdir app
 ---> Running in 1fd201a118d4
Removing intermediate container 1fd201a118d4
 ---> 3ab191cc8fe7
Step 10/19 : WORKDIR /app
 ---> Running in 0297d81d69a5
Removing intermediate container 0297d81d69a5
 ---> 54d80cdef9de
Step 11/19 : ENV PATH="${PATH}:/root/.local/bin"
 ---> Running in e1200d7ef084
Removing intermediate container e1200d7ef084
 ---> b2fb151d1447
Step 12/19 : ENV PYTHONPATH=.
 ---> Running in f0770999e310
Removing intermediate container f0770999e310
 ---> d530d9e7d728
Step 13/19 : ENV PYTHONUNBUFFERED=1
 ---> Running in 8dbff47c4b99
Removing intermediate container 8dbff47c4b99
 ---> 0fda50ec28b6
Step 14/19 : RUN pip install --no-cache --upgrade pip mypy types-PyYAML types-aiofiles
 ---> Running in e4dc7352abb6
Requirement already satisfied: pip in /usr/local/lib/python3.11/site-packages (24.0)
Collecting mypy
  Downloading mypy-1.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.9 kB)
Collecting types-PyYAML
  Downloading types_PyYAML-6.0.12.20240311-py3-none-any.whl.metadata (1.5 kB)
Collecting types-aiofiles
  Downloading types_aiofiles-23.2.0.20240403-py3-none-any.whl.metadata (1.6 kB)
Collecting typing-extensions>=4.1.0 (from mypy)
  Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting mypy-extensions>=1.0.0 (from mypy)
  Downloading mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB)
Downloading mypy-1.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.6/12.6 MB 4.2 MB/s eta 0:00:00
Downloading types_PyYAML-6.0.12.20240311-py3-none-any.whl (15 kB)
Downloading types_aiofiles-23.2.0.20240403-py3-none-any.whl (9.4 kB)
Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Installing collected packages: typing-extensions, types-PyYAML, types-aiofiles, mypy-extensions, mypy
Successfully installed mypy-1.10.0 mypy-extensions-1.0.0 types-PyYAML-6.0.12.20240311 types-aiofiles-23.2.0.20240403 typing-extensions-4.12.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container e4dc7352abb6
 ---> 3c64a0d71fac
Step 15/19 : FROM py as dev
 ---> 3c64a0d71fac
Step 16/19 : COPY requirements.txt pyproject.toml main.py /app/
 ---> 636c3e11e0f4
Step 17/19 : RUN pip install --no-cache -r requirements.txt
 ---> Running in 03f3b46e1496
Collecting fastapi==0.109.0 (from -r requirements.txt (line 1))
  Downloading fastapi-0.109.0-py3-none-any.whl.metadata (24 kB)
Collecting pyyaml==6.0.1 (from -r requirements.txt (line 3))
  Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting uvicorn==0.27.0.post1 (from uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading uvicorn-0.27.0.post1-py3-none-any.whl.metadata (6.4 kB)
Collecting httpx==0.26.0 (from -r requirements.txt (line 5))
  Downloading httpx-0.26.0-py3-none-any.whl.metadata (7.6 kB)
Collecting aiofiles==23.2.1 (from -r requirements.txt (line 6))
  Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 (from fastapi==0.109.0->-r requirements.txt (line 1))
  Downloading pydantic-2.7.3-py3-none-any.whl.metadata (108 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.0/109.0 kB 838.7 kB/s eta 0:00:00
Collecting starlette<0.36.0,>=0.35.0 (from fastapi==0.109.0->-r requirements.txt (line 1))
  Downloading starlette-0.35.1-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: typing-extensions>=4.8.0 in /usr/local/lib/python3.11/site-packages (from fastapi==0.109.0->-r requirements.txt (line 1)) (4.12.2)
Collecting click>=7.0 (from uvicorn==0.27.0.post1->uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting h11>=0.8 (from uvicorn==0.27.0.post1->uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting anyio (from httpx==0.26.0->-r requirements.txt (line 5))
  Downloading anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting certifi (from httpx==0.26.0->-r requirements.txt (line 5))
  Downloading certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx==0.26.0->-r requirements.txt (line 5))
  Downloading httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Collecting idna (from httpx==0.26.0->-r requirements.txt (line 5))
  Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting sniffio (from httpx==0.26.0->-r requirements.txt (line 5))
  Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting httptools>=0.5.0 (from uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading httptools-0.6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.6 kB)
Collecting python-dotenv>=0.13 (from uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 (from uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading uvloop-0.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting watchfiles>=0.13 (from uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading watchfiles-0.22.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting websockets>=10.4 (from uvicorn[standard]==0.27.0.post1->-r requirements.txt (line 4))
  Downloading websockets-12.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Collecting annotated-types>=0.4.0 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi==0.109.0->-r requirements.txt (line 1))
  Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.18.4 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi==0.109.0->-r requirements.txt (line 1))
  Downloading pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.5 kB)
Downloading fastapi-0.109.0-py3-none-any.whl (92 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.0/92.0 kB 3.2 MB/s eta 0:00:00
Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 757.7/757.7 kB 3.4 MB/s eta 0:00:00
Downloading uvicorn-0.27.0.post1-py3-none-any.whl (60 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.7/60.7 kB 234.7 MB/s eta 0:00:00
Downloading httpx-0.26.0-py3-none-any.whl (75 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.9/75.9 kB 245.4 MB/s eta 0:00:00
Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 kB 238.5 MB/s eta 0:00:00
Downloading click-8.1.7-py3-none-any.whl (97 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 82.8 MB/s eta 0:00:00
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 229.2 MB/s eta 0:00:00
Downloading httptools-0.6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (318 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 318.5/318.5 kB 16.8 MB/s eta 0:00:00
Downloading pydantic-2.7.3-py3-none-any.whl (409 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 409.6/409.6 kB 20.6 MB/s eta 0:00:00
Downloading pydantic_core-2.18.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 15.1 MB/s eta 0:00:00
Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Downloading starlette-0.35.1-py3-none-any.whl (71 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.1/71.1 kB 128.2 MB/s eta 0:00:00
Downloading anyio-4.4.0-py3-none-any.whl (86 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 217.0 MB/s eta 0:00:00
Downloading idna-3.7-py3-none-any.whl (66 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 243.5 MB/s eta 0:00:00
Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
Downloading uvloop-0.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 9.7 MB/s eta 0:00:00
Downloading watchfiles-0.22.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.2 MB/s eta 0:00:00
Downloading websockets-12.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.9/130.9 kB 277.7 MB/s eta 0:00:00
Downloading certifi-2024.6.2-py3-none-any.whl (164 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 268.9 MB/s eta 0:00:00
Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Installing collected packages: websockets, uvloop, sniffio, pyyaml, python-dotenv, pydantic-core, idna, httptools, h11, click, certifi, annotated-types, aiofiles, uvicorn, pydantic, httpcore, anyio, watchfiles, starlette, httpx, fastapi
Successfully installed aiofiles-23.2.1 annotated-types-0.7.0 anyio-4.4.0 certifi-2024.6.2 click-8.1.7 fastapi-0.109.0 h11-0.14.0 httpcore-1.0.5 httptools-0.6.1 httpx-0.26.0 idna-3.7 pydantic-2.7.3 pydantic-core-2.18.4 python-dotenv-1.0.1 pyyaml-6.0.1 sniffio-1.3.1 starlette-0.35.1 uvicorn-0.27.0.post1 uvloop-0.19.0 watchfiles-0.22.0 websockets-12.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 03f3b46e1496
 ---> 7ed4d7ea5499
Step 18/19 : COPY src /app/src/
 ---> 1f4d1fd25b1b
Step 19/19 : RUN pip install -e .
 ---> Running in dcbc1cc08771
Obtaining file:///app
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: gurren
  Building editable for gurren (pyproject.toml): started
  Building editable for gurren (pyproject.toml): finished with status 'done'
  Created wheel for gurren: filename=gurren-0.0.1-0.editable-py3-none-any.whl size=1139 sha256=d9b99d4cda284a48253ed623f66814709dfa13be65a1023004382138e7994413
  Stored in directory: /tmp/pip-ephem-wheel-cache-irzn2hqx/wheels/57/0f/98/bb57b2b57b95807699b822a35c022f139d38a02c27922f27ce
Successfully built gurren
Installing collected packages: gurren
Successfully installed gurren-0.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container dcbc1cc08771
 ---> 28e1850671ca
Successfully built 28e1850671ca
Successfully tagged gurren_backend:latest
Building ui
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  390.7kB
Step 1/4 : FROM node:lts-alpine AS nodejs
lts-alpine: Pulling from library/node
d25f557d7f31: Pull complete 
9ad57c0a67fb: Pull complete 
d8e86279494c: Pull complete 
ee82c33b6351: Pull complete 
Digest: sha256:66c7d989b6dabba6b4305b88f40912679aebd9f387a5b16ffa76dfb9ae90b060
Status: Downloaded newer image for node:lts-alpine
 ---> 91247b4bc29d
Step 2/4 : RUN mkdir -p /app
 ---> Running in f9ea705690d5
Removing intermediate container f9ea705690d5
 ---> f5a026c824e6
Step 3/4 : WORKDIR /app
 ---> Running in e5fad20d4c09
Removing intermediate container e5fad20d4c09
 ---> 9bb1cd100fac
Step 4/4 : ENV PATH /app/node_modules/.bin:$PATH
 ---> Running in 17b8ad9feeb1
Removing intermediate container 17b8ad9feeb1
 ---> 47b237aafd8c
Successfully built 47b237aafd8c
Successfully tagged gurren_ui:latest
Building mypy
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  24.58kB
Step 1/19 : FROM tiangolo/uvicorn-gunicorn:python3.11-slim as prod
 ---> 3dee06640ec8
Step 2/19 : ENV PORT 5000
 ---> Using cache
 ---> 7552b54f224a
Step 3/19 : ENV LOG_LEVEL debug
 ---> Using cache
 ---> ab8eaebb5523
Step 4/19 : COPY requirements.txt pyproject.toml main.py /app/
 ---> Using cache
 ---> c90bf8a11b5f
Step 5/19 : RUN pip install --no-cache -r /app/requirements.txt
 ---> Using cache
 ---> df4a94c751fe
Step 6/19 : COPY src /app/src/
 ---> Using cache
 ---> 731f669243f9
Step 7/19 : RUN pip install -e /app
 ---> Using cache
 ---> 801bd920ff12
Step 8/19 : FROM python:3.11-slim as py
 ---> 26820c29e666
Step 9/19 : RUN mkdir app
 ---> Using cache
 ---> 3ab191cc8fe7
Step 10/19 : WORKDIR /app
 ---> Using cache
 ---> 54d80cdef9de
Step 11/19 : ENV PATH="${PATH}:/root/.local/bin"
 ---> Using cache
 ---> b2fb151d1447
Step 12/19 : ENV PYTHONPATH=.
 ---> Using cache
 ---> d530d9e7d728
Step 13/19 : ENV PYTHONUNBUFFERED=1
 ---> Using cache
 ---> 0fda50ec28b6
Step 14/19 : RUN pip install --no-cache --upgrade pip mypy types-PyYAML types-aiofiles
 ---> Using cache
 ---> 3c64a0d71fac
Step 15/19 : FROM py as dev
 ---> 3c64a0d71fac
Step 16/19 : COPY requirements.txt pyproject.toml main.py /app/
 ---> Using cache
 ---> 636c3e11e0f4
Step 17/19 : RUN pip install --no-cache -r requirements.txt
 ---> Using cache
 ---> 7ed4d7ea5499
Step 18/19 : COPY src /app/src/
 ---> Using cache
 ---> 1f4d1fd25b1b
Step 19/19 : RUN pip install -e .
 ---> Using cache
 ---> 28e1850671ca
Successfully built 28e1850671ca
Successfully tagged gurren_mypy:latest
serg@serg-VirtualBox:~/gitverse/gurren$ make up
test -f ./traefik/acme.json || touch ./traefik/acme.json
chmod 600 ./traefik/acme.json
docker-compose up -d --remove-orphans
Creating network "gurren_default" with the default driver
Pulling traefik (traefik:latest)...
latest: Pulling from library/traefik
d25f557d7f31: Already exists
063d5da2188c: Pull complete
8f75f1e5f6fe: Pull complete
cd73ba1fdc16: Pull complete
Digest: sha256:9ad110e745f68e15c09a4d6ccc0dc3cd674ab21466c0884b8e7823a445ac4d25
Status: Downloaded newer image for traefik:latest
Creating traefik ... done
Creating mypy    ... done
Creating backend ... done
Creating ui      ... done
make logs
make[1]: вход в каталог «/home/serg/gitverse/gurren»
docker-compose logs -f
Attaching to backend, ui, mypy, traefik
mypy       | [16:54:30] watchfiles v0.22.0 👀  path="/app/src" target="dmypy run -- src" (command) filter=PythonFilter...
mypy       | Daemon started
backend    | INFO:     Will watch for changes in these directories: ['/app']
backend    | INFO:     Uvicorn running on http://0.0.0.0:5000 (Press CTRL+C to quit)
backend    | INFO:     Started reloader process [1] using WatchFiles
ui         | 
ui         | > gurren@0.0.0 dev
ui         | > vite --host --port 8000 -l info -d
ui         | 
ui         | sh: vite: not found
ui exited with code 127
backend    | LOG_CONF /app/src/gurren/logging.dev.yaml
backend    | Started server process [7]
backend    | Waiting for application startup.
backend    | Application startup complete.
mypy       | Success: no issues found in 6 source files
backend    | 172.18.0.1:47634 - "GET / HTTP/1.1" 200
backend    | 172.18.0.1:43492 - "GET / HTTP/1.1" 200
mypy       | [17:03:51] received signal 15, raising KeyboardInterrupt
mypy       | [17:03:51] KeyboardInterrupt caught, stopping watch
mypy       | [17:03:51] process already dead, exit code: 0
mypy exited with code 0
backend exited with code 137
traefik exited with code 137
make[1]: выход из каталога «/home/serg/gitverse/gurren»
